<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.smtp.SMTP类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1smtp_1_1SMTP.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1smtp_1_1SMTP-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.smtp.SMTP类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>SMTP类提供实现SMTP客户端所需的基本功能，提供一组与命令名称对应的方法以便于实现SMTP客户端。  
 <a href="classcommonsNet_1_1smtp_1_1SMTP.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.smtp.SMTP 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1smtp_1_1SMTP.png" usemap="#commonsNet.smtp.SMTP_map" alt=""/>
  <map id="commonsNet.smtp.SMTP_map" name="commonsNet.smtp.SMTP_map">
<area href="classcommonsNet_1_1SocketClient.html" title="SocketClient类提供客户端对象访问套接字所需的基本操作。打开套接字、关闭套接字、设置超时等。" alt="commonsNet.SocketClient" shape="rect" coords="0,0,262,24"/>
<area href="classcommonsNet_1_1smtp_1_1SMTPClient.html" title="SMTPClient封装了通过SMTP服务器发送文件所需的功能。此类处理与SMTP服务器交互的所有低级细节，并提供方便的高级接口。" alt="commonsNet.smtp.SMTPClient" shape="rect" coords="0,112,262,136"/>
<area href="classcommonsNet_1_1smtp_1_1SMTPSClient.html" title="SMTPSClient类为SMTPClient提供TLS连接加密。" alt="commonsNet.smtp.SMTPSClient" shape="rect" coords="0,168,262,192"/>
<area href="classcommonsNet_1_1smtp_1_1AuthenticatingSMTPClient.html" title="支持认证的SMTP客户端。" alt="commonsNet.smtp.AuthenticatingSMTPClient" shape="rect" coords="0,224,262,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ade17ed27b3942733173884095b37fab5"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ade17ed27b3942733173884095b37fab5">init</a> ()</td></tr>
<tr class="memdesc:ade17ed27b3942733173884095b37fab5"><td class="mdescLeft">&#160;</td><td class="mdescRight">SMTP默认构造器，初始化默认端口  <br /></td></tr>
<tr class="separator:ade17ed27b3942733173884095b37fab5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af812084eb703c0a01b65c8b330145f56"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#af812084eb703c0a01b65c8b330145f56">disconnect</a> ()</td></tr>
<tr class="memdesc:af812084eb703c0a01b65c8b330145f56"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭与SMTP服务器的连接，并将某些内部数据设置为None。  <br /></td></tr>
<tr class="separator:af812084eb703c0a01b65c8b330145f56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0cc93d6e732efb776596a02a2787570"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ac0cc93d6e732efb776596a02a2787570">sendCommand</a> (command: Int64): Int64</td></tr>
<tr class="memdesc:ac0cc93d6e732efb776596a02a2787570"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:ac0cc93d6e732efb776596a02a2787570"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7db322c8b1bbc825319dc17655cfd1c7"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a7db322c8b1bbc825319dc17655cfd1c7">sendCommand</a> (command: Int64, args: ?String): Int64</td></tr>
<tr class="memdesc:a7db322c8b1bbc825319dc17655cfd1c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:a7db322c8b1bbc825319dc17655cfd1c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf403d4e3d8900bd69d0c4e80d39607"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#abcf403d4e3d8900bd69d0c4e80d39607">sendCommand</a> (command: String): Int64</td></tr>
<tr class="memdesc:abcf403d4e3d8900bd69d0c4e80d39607"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:abcf403d4e3d8900bd69d0c4e80d39607"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c9017da1732a4c4053386637a192b26"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a0c9017da1732a4c4053386637a192b26">sendCommand</a> (command: String, args: ?String): Int64</td></tr>
<tr class="memdesc:a0c9017da1732a4c4053386637a192b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:a0c9017da1732a4c4053386637a192b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a179b730ce4ab1ef7768577160ee45fa0"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a179b730ce4ab1ef7768577160ee45fa0">getReply</a> (): Int64</td></tr>
<tr class="memdesc:a179b730ce4ab1ef7768577160ee45fa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">从SMTP服务器获取回复并返回整数回复代码。调用此方法后，可以通过调用getReplyString或getReplyStrings来访问实际的回复文本。  <br /></td></tr>
<tr class="separator:a179b730ce4ab1ef7768577160ee45fa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fe4345904c92516cd8d7aa1726feb15"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a5fe4345904c92516cd8d7aa1726feb15">getReplyCode</a> (): Int64</td></tr>
<tr class="memdesc:a5fe4345904c92516cd8d7aa1726feb15"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回上次SMTP响应的回复代码的整数值。通常只有在连接到服务器的时候用来检查连接状态，因为connect方法返回类型为Unit。  <br /></td></tr>
<tr class="separator:a5fe4345904c92516cd8d7aa1726feb15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6487a6b5a02f2b918a8edadf7cb1f81e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a6487a6b5a02f2b918a8edadf7cb1f81e">getReplyStrings</a> (): Array&lt;String&gt;</td></tr>
<tr class="memdesc:a6487a6b5a02f2b918a8edadf7cb1f81e"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回最后一个SMTP服务器响应的文本的数组形式，每个元素为一行。  <br /></td></tr>
<tr class="separator:a6487a6b5a02f2b918a8edadf7cb1f81e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09a608e95c93d15f095838cd5b116690"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a09a608e95c93d15f095838cd5b116690">getReplyString</a> (): String</td></tr>
<tr class="memdesc:a09a608e95c93d15f095838cd5b116690"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回最后一个SMTP服务器响应的完整文本，包括NETASCII格式的所有行尾标记。  <br /></td></tr>
<tr class="separator:a09a608e95c93d15f095838cd5b116690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4228dde65a4d04f7eeb94a36b87e999"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ac4228dde65a4d04f7eeb94a36b87e999">data</a> ()</td></tr>
<tr class="memdesc:ac4228dde65a4d04f7eeb94a36b87e999"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP DATA命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:ac4228dde65a4d04f7eeb94a36b87e999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04d3c416f139ddcd4cea041034aef842"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a04d3c416f139ddcd4cea041034aef842">expn</a> (name: String)</td></tr>
<tr class="memdesc:a04d3c416f139ddcd4cea041034aef842"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP EXPN命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a04d3c416f139ddcd4cea041034aef842"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a892c9efd1f00935df1e1296682e83e15"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a892c9efd1f00935df1e1296682e83e15">helo</a> (hostname: String)</td></tr>
<tr class="memdesc:a892c9efd1f00935df1e1296682e83e15"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP HELO命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a892c9efd1f00935df1e1296682e83e15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72acd12f8d7f594c1d1210f416f23343"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a72acd12f8d7f594c1d1210f416f23343">help</a> ()</td></tr>
<tr class="memdesc:a72acd12f8d7f594c1d1210f416f23343"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP HELP命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a72acd12f8d7f594c1d1210f416f23343"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9da8a5b0bdaf4e938d0c05580d30e797"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a9da8a5b0bdaf4e938d0c05580d30e797">help</a> (command: String)</td></tr>
<tr class="memdesc:a9da8a5b0bdaf4e938d0c05580d30e797"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP HELP命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a9da8a5b0bdaf4e938d0c05580d30e797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca7916200307c652a4bdddfb9dd1fac1"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#aca7916200307c652a4bdddfb9dd1fac1">mail</a> (reversePath: String)</td></tr>
<tr class="memdesc:aca7916200307c652a4bdddfb9dd1fac1"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP MAIL命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:aca7916200307c652a4bdddfb9dd1fac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5498b4fc82747cf8c16cfff3cdd2b75"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#aa5498b4fc82747cf8c16cfff3cdd2b75">noop</a> ()</td></tr>
<tr class="memdesc:aa5498b4fc82747cf8c16cfff3cdd2b75"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP NOOP命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:aa5498b4fc82747cf8c16cfff3cdd2b75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf714f812848c9b79007b91dca968cba"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#acf714f812848c9b79007b91dca968cba">quit</a> ()</td></tr>
<tr class="memdesc:acf714f812848c9b79007b91dca968cba"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP QUIT命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:acf714f812848c9b79007b91dca968cba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd59096917c26fe92dcb3ed74330ff1"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#aacd59096917c26fe92dcb3ed74330ff1">rcpt</a> (forwardPath: String)</td></tr>
<tr class="memdesc:aacd59096917c26fe92dcb3ed74330ff1"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP RCPT命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:aacd59096917c26fe92dcb3ed74330ff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84fbb52a515aa4ad6394726926499a3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#ab84fbb52a515aa4ad6394726926499a3">rset</a> ()</td></tr>
<tr class="memdesc:ab84fbb52a515aa4ad6394726926499a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP RSET命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:ab84fbb52a515aa4ad6394726926499a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea243960e8ce93486b95fc8c53b2e67"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#abea243960e8ce93486b95fc8c53b2e67">saml</a> (reversePath: String)</td></tr>
<tr class="memdesc:abea243960e8ce93486b95fc8c53b2e67"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP SAML命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:abea243960e8ce93486b95fc8c53b2e67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b8bab0f1eac1aaa2ee8f01bddcb7e9"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a43b8bab0f1eac1aaa2ee8f01bddcb7e9">send</a> (reversePath: String)</td></tr>
<tr class="memdesc:a43b8bab0f1eac1aaa2ee8f01bddcb7e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP SEND命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a43b8bab0f1eac1aaa2ee8f01bddcb7e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f6b53bb48365d95f4aaa28007cae14e"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a1f6b53bb48365d95f4aaa28007cae14e">soml</a> (reversePath: String)</td></tr>
<tr class="memdesc:a1f6b53bb48365d95f4aaa28007cae14e"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP SOML命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a1f6b53bb48365d95f4aaa28007cae14e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c0852bb03b327dd245c804fec4018b9"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a8c0852bb03b327dd245c804fec4018b9">turn</a> ()</td></tr>
<tr class="memdesc:a8c0852bb03b327dd245c804fec4018b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP TURN命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a8c0852bb03b327dd245c804fec4018b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2295ffc7abc8e39c14355f7c3eff80ed"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a2295ffc7abc8e39c14355f7c3eff80ed">vrfy</a> (user: String)</td></tr>
<tr class="memdesc:a2295ffc7abc8e39c14355f7c3eff80ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送SMTP VRFY命令，接受响应并返回回复代码。  <br /></td></tr>
<tr class="separator:a2295ffc7abc8e39c14355f7c3eff80ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bb898df45d7b393d6c2814753b05be3">init</a> ()</td></tr>
<tr class="memdesc:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认构造函数  <br /></td></tr>
<tr class="separator:a1bb898df45d7b393d6c2814753b05be3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a87551917056355777424650106857aaa">readTimeout</a> : ?Duration</td></tr>
<tr class="separator:a87551917056355777424650106857aaa inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1bc17afff65b64aa296c3b55ada867ef">writeTimeout</a> : ?Duration</td></tr>
<tr class="separator:a1bc17afff65b64aa296c3b55ada867ef inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a6356afd60138e32bd7b05c8be35149d6">remoteAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程地址。委托给<code><a class="el" href="">StreamingSocket#remoteAddress</a></code>  <br /></td></tr>
<tr class="separator:a6356afd60138e32bd7b05c8be35149d6 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a48b65614c29c5816bddc0c0b6d9bf2df">remotePort</a> : UInt16</td></tr>
<tr class="memdesc:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端连接到的远程主机的端口号  <br /></td></tr>
<tr class="separator:a48b65614c29c5816bddc0c0b6d9bf2df inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a93a0598e2a9e67a8cd12779a30d65142">localAddress</a> : IPAddress</td></tr>
<tr class="memdesc:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端套接字绑定到的本地地址。委托给<code><a class="el" href="">StreamingSocket#localAddress</a></code>  <br /></td></tr>
<tr class="separator:a93a0598e2a9e67a8cd12779a30d65142 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acfc16ab47c94037df62fb2ba9d027f1e">localPort</a> : UInt16</td></tr>
<tr class="memdesc:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端绑定到的本地端口号  <br /></td></tr>
<tr class="separator:acfc16ab47c94037df62fb2ba9d027f1e inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#af9044380b2d1dd34779216a935fa265c">defaultPort</a> : UInt16</td></tr>
<tr class="memdesc:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:af9044380b2d1dd34779216a935fa265c inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public mut prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0c83df8caef820abcb2ab39ebeb3ffa7">connectTimeout</a> : Duration</td></tr>
<tr class="memdesc:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间，将传递给socket对象的connect方法。  <br /></td></tr>
<tr class="separator:a0c83df8caef820abcb2ab39ebeb3ffa7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7a488725edabd4193aa85e999f834245">isConnected</a> (): Bool</td></tr>
<tr class="memdesc:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果套接字不是None，则返回true。  <br /></td></tr>
<tr class="separator:a7a488725edabd4193aa85e999f834245 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a04e993f4f4374f378f9ddf730e7d1a1a">setSocketFactory</a> (socketFactory: ?<a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a>): Unit</td></tr>
<tr class="separator:a04e993f4f4374f378f9ddf730e7d1a1a inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ad4daf93a806b1a99d35e8b2d8394b2ff">setServerSocketFactory</a> (serverSocketFactory: ?<a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a>): Unit</td></tr>
<tr class="separator:ad4daf93a806b1a99d35e8b2d8394b2ff inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0fbcc57fadf7e3f7b9061232f3bc6303">connect</a> (address: String): Unit</td></tr>
<tr class="memdesc:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a0fbcc57fadf7e3f7b9061232f3bc6303 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a641075d2637ea7141ee2a535d922ef47">connect</a> (address: String, port: UInt16): Unit</td></tr>
<tr class="memdesc:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a641075d2637ea7141ee2a535d922ef47 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3a5e20f3c11d7648fe8e13bbbfecc685">connect</a> (address: String, port: UInt16, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a3a5e20f3c11d7648fe8e13bbbfecc685 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ea99f7b6db651e4209ec78e8055ad45">connect</a> (address: SocketAddress): Unit</td></tr>
<tr class="memdesc:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:a1ea99f7b6db651e4209ec78e8055ad45 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ac0bfe81fc4e64ac8c8cb4b0982ea6ca7">connect</a> (address: SocketAddress, localAddress: Option&lt;SocketAddress&gt;): Unit</td></tr>
<tr class="memdesc:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接到远程主机  <br /></td></tr>
<tr class="separator:ac0bfe81fc4e64ac8c8cb4b0982ea6ca7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a9d49495a9b64c3e848a020b509dcfdc0">addProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a9d49495a9b64c3e848a020b509dcfdc0 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a644174b37f378552318c6b93e44ae0e3">removeProtocolCommandListener</a> (listener: <a class="el" href="classcommonsNet_1_1ProtocolCommandListener.html">ProtocolCommandListener</a>): Unit</td></tr>
<tr class="memdesc:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除一个ProtocolCommandListener  <br /></td></tr>
<tr class="separator:a644174b37f378552318c6b93e44ae0e3 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a209c171637129b711301908fe5781329">disconnect</a> (): Unit</td></tr>
<tr class="memdesc:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">端口socket连接。应该在完成使用后以及再次连接之前调用此方法。_socket_将设为None  <br /></td></tr>
<tr class="separator:a209c171637129b711301908fe5781329 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a174f159c659d115fbb46baace12215d7">verifyRemote</a> (socket: StreamingSocket)</td></tr>
<tr class="memdesc:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">验证给定套接字的远端是否为当前SocketClient连接的同一主机。  <br /></td></tr>
<tr class="separator:a174f159c659d115fbb46baace12215d7 inherit pub_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a9f204e24d43ec9b25335fdcbe2407c48"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a9f204e24d43ec9b25335fdcbe2407c48">static let DEFAULT_PORT</a> = 25</td></tr>
<tr class="memdesc:a9f204e24d43ec9b25335fdcbe2407c48"><td class="mdescLeft">&#160;</td><td class="mdescRight">SMPT默认端口 25  <br /></td></tr>
<tr class="separator:a9f204e24d43ec9b25335fdcbe2407c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#acf063b8bd9929825dc931fa75918df33">static let NETASCII_EOL</a> : String = &quot;\r\n&quot;</td></tr>
<tr class="memdesc:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">大多数IETF协议使用的换行符，CRLF  <br /></td></tr>
<tr class="separator:acf063b8bd9929825dc931fa75918df33 inherit pub_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:acbba8d9a74874315cd81c8d095c18194"><td class="memItemLeft" align="right" valign="top">protected open override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#acbba8d9a74874315cd81c8d095c18194">_connectAction_</a> (): Unit</td></tr>
<tr class="separator:acbba8d9a74874315cd81c8d095c18194"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#afa2734bc5477eabf0599324d6ede038b">fireCommandSent</a> (command: String, message: String)</td></tr>
<tr class="memdesc:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送命令的详细信息。  <br /></td></tr>
<tr class="separator:afa2734bc5477eabf0599324d6ede038b inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ae9c596dad672de038df93ef77b63746f">fireReplyReceived</a> (replyCode: Int64, reply: String)</td></tr>
<tr class="memdesc:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">如果有任何监听器，则向他们发送回复的详细信息。  <br /></td></tr>
<tr class="separator:ae9c596dad672de038df93ef77b63746f inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#ab5133836949f8b27b41a31473654c881">_connectAction_</a> ()</td></tr>
<tr class="memdesc:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">由于存在较多的connect方法，因此提供_connectAction_方法作为在建立连接后立即执行某些操作的手段，而不是重新实现所有connect方法。  <br /></td></tr>
<tr class="separator:ab5133836949f8b27b41a31473654c881 inherit pro_methods_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a8fd7b91b6734cbca9d7d24e2042c4264"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a8fd7b91b6734cbca9d7d24e2042c4264">sendCommand</a> (command: Int64, args: ?String, includeSpace: Bool): Int64</td></tr>
<tr class="memdesc:a8fd7b91b6734cbca9d7d24e2042c4264"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:a8fd7b91b6734cbca9d7d24e2042c4264"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a470517f36140236626afc9ddfce53295"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a470517f36140236626afc9ddfce53295">sendCommand</a> (command: String, args: ?String, includeSpace: Bool): Int64</td></tr>
<tr class="memdesc:a470517f36140236626afc9ddfce53295"><td class="mdescLeft">&#160;</td><td class="mdescRight">向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。  <br /></td></tr>
<tr class="separator:a470517f36140236626afc9ddfce53295"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:aeb0775e3bb04a6e5c58601f07c66ae3b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#aeb0775e3bb04a6e5c58601f07c66ae3b">var reader</a> : ?StringReader&lt;StreamingSocket&gt; = None</td></tr>
<tr class="separator:aeb0775e3bb04a6e5c58601f07c66ae3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e35eea6e676fbfa19c8654d6ced8964"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a7e35eea6e676fbfa19c8654d6ced8964">var writer</a> : ?StringWriter&lt;StreamingSocket&gt; = None</td></tr>
<tr class="separator:a7e35eea6e676fbfa19c8654d6ced8964"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87b6d6fe3b3affd8362bfe612ce039fc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a87b6d6fe3b3affd8362bfe612ce039fc">var replyCode</a> : Int64 = 0</td></tr>
<tr class="separator:a87b6d6fe3b3affd8362bfe612ce039fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e8e4b8769372c2593a9e79ba1fa486"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a81e8e4b8769372c2593a9e79ba1fa486">var replyLines</a> = ArrayList&lt;String&gt;()</td></tr>
<tr class="separator:a81e8e4b8769372c2593a9e79ba1fa486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16b2d98ad79dfa7976f7d4c09ce7ebd7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a16b2d98ad79dfa7976f7d4c09ce7ebd7">var newReplyString</a> : Bool = false</td></tr>
<tr class="separator:a16b2d98ad79dfa7976f7d4c09ce7ebd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64db1a0b52b4deddf5c02f7d5e66df6c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html#a64db1a0b52b4deddf5c02f7d5e66df6c">var replyString</a> : String = &quot;&quot;</td></tr>
<tr class="separator:a64db1a0b52b4deddf5c02f7d5e66df6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_classcommonsNet_1_1SocketClient"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcommonsNet_1_1SocketClient')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classcommonsNet_1_1SocketClient.html">commonsNet.SocketClient</a></td></tr>
<tr class="memitem:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a3da898c3d3f8488cf8a498ce1147eaf7">var _socket_</a> : ?StreamingSocket</td></tr>
<tr class="memdesc:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接使用的socket  <br /></td></tr>
<tr class="separator:a3da898c3d3f8488cf8a498ce1147eaf7 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a7610863136db5773a465f7a4feb10cd5">var _input_</a> : ?InputStream = None</td></tr>
<tr class="memdesc:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输入流  <br /></td></tr>
<tr class="separator:a7610863136db5773a465f7a4feb10cd5 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a60f2dfec175bdbd8f243aea7a7dae5ec">var _output_</a> : ?OutputStream = None</td></tr>
<tr class="memdesc:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket输出流  <br /></td></tr>
<tr class="separator:a60f2dfec175bdbd8f243aea7a7dae5ec inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a1ae2f2d89af96526257357b68009b196">var _hostname_</a> : ?String</td></tr>
<tr class="memdesc:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的主机名  <br /></td></tr>
<tr class="separator:a1ae2f2d89af96526257357b68009b196 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a0eeb213da3426f5b5fe3b0341f628106">var _remoteSocketAddress_</a> : ?SocketAddress</td></tr>
<tr class="memdesc:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于连接的远程套接字地址。  <br /></td></tr>
<tr class="separator:a0eeb213da3426f5b5fe3b0341f628106 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a222ed7ff95066135d7427671c17cbb51">var _defaultPort_</a> : UInt16</td></tr>
<tr class="memdesc:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端应连接的默认端口。  <br /></td></tr>
<tr class="separator:a222ed7ff95066135d7427671c17cbb51 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a45e24f8b9f78f96b0e42499f5224c42a">var _socketFactory_</a> : <a class="el" href="classcommonsNet_1_1SocketFactory.html">SocketFactory</a></td></tr>
<tr class="separator:a45e24f8b9f78f96b0e42499f5224c42a inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#aa278799518e05c3b7aeb28bcebb23375">var _serverSocketFactory_</a> : <a class="el" href="classcommonsNet_1_1ServerSocketFactory.html">ServerSocketFactory</a></td></tr>
<tr class="separator:aa278799518e05c3b7aeb28bcebb23375 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a839d81898a2aacfcf9bfd3b7b6f0ffb8">var _connectTimeout_</a> : Duration = DEFAULT_CONNECT_TIMEOUT</td></tr>
<tr class="memdesc:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">连接超时时间  <br /></td></tr>
<tr class="separator:a839d81898a2aacfcf9bfd3b7b6f0ffb8 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1SocketClient.html#a57b01a4fe6374778b227c41a8a45b0e1">let _commandSupport</a> : <a class="el" href="classcommonsNet_1_1ProtocolCommandSupport.html">ProtocolCommandSupport</a></td></tr>
<tr class="memdesc:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="mdescLeft">&#160;</td><td class="mdescRight">ProtocolCommandSupport对象，用于管理ProtocolCommandListeners的注册和ProtocolCommandEvents的触发。  <br /></td></tr>
<tr class="separator:a57b01a4fe6374778b227c41a8a45b0e1 inherit pro_attribs_classcommonsNet_1_1SocketClient"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>SMTP类提供实现SMTP客户端所需的基本功能，提供一组与命令名称对应的方法以便于实现SMTP客户端。 </p>
<p>没有特殊需要，应该使用SMTPClient类而不是直接使用SMTP类。<br  />
 SMTP服务器可能因为各种原因提前关闭连接，SMTP类的方法在检测到服务器响应的SMTPReply.SERVICE_NOT_AVAILABLE时， 会抛出SMTPConnectionClosedException异常。<br  />
 当遇到SMTPConnectionClosedException时，应该使用disconnect()断开连接，以正确清理SMTP使用的系统资源。 在断开连接之前，您可以使用getReplyCode、getReplyString和getReplyStrings检查最后一个回复代码和文本。<br  />
 当无法正确解析服务器响应的回复时，抛出MalformedServerReplyException异常。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ade17ed27b3942733173884095b37fab5" name="ade17ed27b3942733173884095b37fab5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade17ed27b3942733173884095b37fab5">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.smtp.SMTP.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SMTP默认构造器，初始化默认端口 </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="acbba8d9a74874315cd81c8d095c18194" name="acbba8d9a74874315cd81c8d095c18194"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbba8d9a74874315cd81c8d095c18194">&#9670;&#160;</a></span>_connectAction_()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected open override func commonsNet.smtp.SMTP._connectAction_ </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac4228dde65a4d04f7eeb94a36b87e999" name="ac4228dde65a4d04f7eeb94a36b87e999"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4228dde65a4d04f7eeb94a36b87e999">&#9670;&#160;</a></span>data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.data </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP DATA命令，接受响应并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="af812084eb703c0a01b65c8b330145f56" name="af812084eb703c0a01b65c8b330145f56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af812084eb703c0a01b65c8b330145f56">&#9670;&#160;</a></span>disconnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.disconnect </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>关闭与SMTP服务器的连接，并将某些内部数据设置为None。 </p>
<p>最后一个命令的回复文本和代码信息将被清空。 </p>

</div>
</div>
<a id="a04d3c416f139ddcd4cea041034aef842" name="a04d3c416f139ddcd4cea041034aef842"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04d3c416f139ddcd4cea041034aef842">&#9670;&#160;</a></span>expn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.expn </td>
          <td>(</td>
          <td class="paramname"><em>name</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP EXPN命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>要扩展的名称。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="a179b730ce4ab1ef7768577160ee45fa0" name="a179b730ce4ab1ef7768577160ee45fa0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a179b730ce4ab1ef7768577160ee45fa0">&#9670;&#160;</a></span>getReply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.getReply </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从SMTP服务器获取回复并返回整数回复代码。调用此方法后，可以通过调用getReplyString或getReplyStrings来访问实际的回复文本。 </p>
<dl class="section return"><dt>返回</dt><dd>获取的SMTP回复代码的整数值。 </dd></dl>

</div>
</div>
<a id="a5fe4345904c92516cd8d7aa1726feb15" name="a5fe4345904c92516cd8d7aa1726feb15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fe4345904c92516cd8d7aa1726feb15">&#9670;&#160;</a></span>getReplyCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.getReplyCode </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回上次SMTP响应的回复代码的整数值。通常只有在连接到服务器的时候用来检查连接状态，因为connect方法返回类型为Unit。 </p>
<dl class="section return"><dt>返回</dt><dd>上次SMTP响应的回复代码的整数值。 </dd></dl>

</div>
</div>
<a id="a09a608e95c93d15f095838cd5b116690" name="a09a608e95c93d15f095838cd5b116690"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09a608e95c93d15f095838cd5b116690">&#9670;&#160;</a></span>getReplyString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.getReplyString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回最后一个SMTP服务器响应的完整文本，包括NETASCII格式的所有行尾标记。 </p>
<dl class="section return"><dt>返回</dt><dd>最后一个SMTP响应的完整文本，以字符串形式表示。 </dd></dl>

</div>
</div>
<a id="a6487a6b5a02f2b918a8edadf7cb1f81e" name="a6487a6b5a02f2b918a8edadf7cb1f81e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6487a6b5a02f2b918a8edadf7cb1f81e">&#9670;&#160;</a></span>getReplyStrings()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.getReplyStrings </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Array&lt;String&gt; </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回最后一个SMTP服务器响应的文本的数组形式，每个元素为一行。 </p>
<dl class="section return"><dt>返回</dt><dd>最后一个SMTP服务器响应的文本的数组形式，每个元素为一行。 </dd></dl>

</div>
</div>
<a id="a892c9efd1f00935df1e1296682e83e15" name="a892c9efd1f00935df1e1296682e83e15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a892c9efd1f00935df1e1296682e83e15">&#9670;&#160;</a></span>helo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.helo </td>
          <td>(</td>
          <td class="paramname"><em>hostname</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP HELO命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hostname</td><td>发送者的主机名。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="a72acd12f8d7f594c1d1210f416f23343" name="a72acd12f8d7f594c1d1210f416f23343"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72acd12f8d7f594c1d1210f416f23343">&#9670;&#160;</a></span>help() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.help </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP HELP命令，接受响应并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="a9da8a5b0bdaf4e938d0c05580d30e797" name="a9da8a5b0bdaf4e938d0c05580d30e797"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9da8a5b0bdaf4e938d0c05580d30e797">&#9670;&#160;</a></span>help() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.help </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP HELP命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>要获取帮助的命令名称。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="aca7916200307c652a4bdddfb9dd1fac1" name="aca7916200307c652a4bdddfb9dd1fac1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca7916200307c652a4bdddfb9dd1fac1">&#9670;&#160;</a></span>mail()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.mail </td>
          <td>(</td>
          <td class="paramname"><em>reversePath</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP MAIL命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reversePath</td><td>反向路径。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="aa5498b4fc82747cf8c16cfff3cdd2b75" name="aa5498b4fc82747cf8c16cfff3cdd2b75"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5498b4fc82747cf8c16cfff3cdd2b75">&#9670;&#160;</a></span>noop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.noop </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP NOOP命令，接受响应并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="acf714f812848c9b79007b91dca968cba" name="acf714f812848c9b79007b91dca968cba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf714f812848c9b79007b91dca968cba">&#9670;&#160;</a></span>quit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.quit </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP QUIT命令，接受响应并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="aacd59096917c26fe92dcb3ed74330ff1" name="aacd59096917c26fe92dcb3ed74330ff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacd59096917c26fe92dcb3ed74330ff1">&#9670;&#160;</a></span>rcpt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.rcpt </td>
          <td>(</td>
          <td class="paramname"><em>forwardPath</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP RCPT命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">forwardPath</td><td>The forward path. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="ab84fbb52a515aa4ad6394726926499a3" name="ab84fbb52a515aa4ad6394726926499a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab84fbb52a515aa4ad6394726926499a3">&#9670;&#160;</a></span>rset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.rset </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP RSET命令，接受响应并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="abea243960e8ce93486b95fc8c53b2e67" name="abea243960e8ce93486b95fc8c53b2e67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abea243960e8ce93486b95fc8c53b2e67">&#9670;&#160;</a></span>saml()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.saml </td>
          <td>(</td>
          <td class="paramname"><em>reversePath</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP SAML命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reversePath</td><td>反向路径。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="a43b8bab0f1eac1aaa2ee8f01bddcb7e9" name="a43b8bab0f1eac1aaa2ee8f01bddcb7e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43b8bab0f1eac1aaa2ee8f01bddcb7e9">&#9670;&#160;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.send </td>
          <td>(</td>
          <td class="paramname"><em>reversePath</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP SEND命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reversePath</td><td>反向路径。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="ac0cc93d6e732efb776596a02a2787570" name="ac0cc93d6e732efb776596a02a2787570"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0cc93d6e732efb776596a02a2787570">&#9670;&#160;</a></span>sendCommand() <span class="overload">[1/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送命令，返回服务器响应的回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>要发送的命令（SMPTCommand中定义的整数） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>回复代码 </dd></dl>

</div>
</div>
<a id="a7db322c8b1bbc825319dc17655cfd1c7" name="a7db322c8b1bbc825319dc17655cfd1c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7db322c8b1bbc825319dc17655cfd1c7">&#9670;&#160;</a></span>sendCommand() <span class="overload">[2/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>args</em>:&#160;</td>
          <td class="paramtype">?String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送命令，返回服务器响应的回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>要发送的命令（SMPTCommand中定义的整数） </td></tr>
    <tr><td class="paramname">args</td><td>命令参数，可为None </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>回复代码 </dd></dl>

</div>
</div>
<a id="a8fd7b91b6734cbca9d7d24e2042c4264" name="a8fd7b91b6734cbca9d7d24e2042c4264"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fd7b91b6734cbca9d7d24e2042c4264">&#9670;&#160;</a></span>sendCommand() <span class="overload">[3/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.smtp.SMTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>args</em>:&#160;</td>
          <td class="paramtype">?String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>includeSpace</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Int64 </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>向服务器发送命令，返回服务器响应的回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>要发送的命令（SMPTCommand中定义的整数） </td></tr>
    <tr><td class="paramname">args</td><td>命令参数，可为None </td></tr>
    <tr><td class="paramname">includeSpace</td><td>是否在命令和参数之间增加空格 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>回复代码 </dd></dl>

</div>
</div>
<a id="abcf403d4e3d8900bd69d0c4e80d39607" name="abcf403d4e3d8900bd69d0c4e80d39607"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcf403d4e3d8900bd69d0c4e80d39607">&#9670;&#160;</a></span>sendCommand() <span class="overload">[4/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>要发送的命令（纯文本形式） </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>回复代码 </dd></dl>

</div>
</div>
<a id="a0c9017da1732a4c4053386637a192b26" name="a0c9017da1732a4c4053386637a192b26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c9017da1732a4c4053386637a192b26">&#9670;&#160;</a></span>sendCommand() <span class="overload">[5/6]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>args</em>:&#160;</td>
          <td class="paramtype">?String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>要发送的命令（纯文本形式） </td></tr>
    <tr><td class="paramname">args</td><td>命令参数，可为None </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>回复代码 </dd></dl>

</div>
</div>
<a id="a470517f36140236626afc9ddfce53295" name="a470517f36140236626afc9ddfce53295"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a470517f36140236626afc9ddfce53295">&#9670;&#160;</a></span>sendCommand() <span class="overload">[6/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func commonsNet.smtp.SMTP.sendCommand </td>
          <td>(</td>
          <td class="paramname"><em>command</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>args</em>:&#160;</td>
          <td class="paramtype">?String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>includeSpace</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Int64 </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>向服务器发送命令，也可用于发送文本数据，返回服务器响应的回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>要发送的命令（纯文本形式） </td></tr>
    <tr><td class="paramname">args</td><td>命令参数，可为None </td></tr>
    <tr><td class="paramname">includeSpace</td><td>是否在命令和参数之间增加空格 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>回复代码 </dd></dl>

</div>
</div>
<a id="a1f6b53bb48365d95f4aaa28007cae14e" name="a1f6b53bb48365d95f4aaa28007cae14e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f6b53bb48365d95f4aaa28007cae14e">&#9670;&#160;</a></span>soml()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.soml </td>
          <td>(</td>
          <td class="paramname"><em>reversePath</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP SOML命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reversePath</td><td>反向路径。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="a8c0852bb03b327dd245c804fec4018b9" name="a8c0852bb03b327dd245c804fec4018b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c0852bb03b327dd245c804fec4018b9">&#9670;&#160;</a></span>turn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.turn </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP TURN命令，接受响应并返回回复代码。 </p>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<a id="a2295ffc7abc8e39c14355f7c3eff80ed" name="a2295ffc7abc8e39c14355f7c3eff80ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2295ffc7abc8e39c14355f7c3eff80ed">&#9670;&#160;</a></span>vrfy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.smtp.SMTP.vrfy </td>
          <td>(</td>
          <td class="paramname"><em>user</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向服务器发送SMTP VRFY命令，接受响应并返回回复代码。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">user</td><td>要验证的用户地址。 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>服务器响应的回复代码 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a9f204e24d43ec9b25335fdcbe2407c48" name="a9f204e24d43ec9b25335fdcbe2407c48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f204e24d43ec9b25335fdcbe2407c48">&#9670;&#160;</a></span>static let DEFAULT_PORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.SMTP.static let DEFAULT_PORT = 25</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SMPT默认端口 25 </p>

</div>
</div>
<a id="a16b2d98ad79dfa7976f7d4c09ce7ebd7" name="a16b2d98ad79dfa7976f7d4c09ce7ebd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16b2d98ad79dfa7976f7d4c09ce7ebd7">&#9670;&#160;</a></span>var newReplyString</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.SMTP.var newReplyString : Bool = false</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeb0775e3bb04a6e5c58601f07c66ae3b" name="aeb0775e3bb04a6e5c58601f07c66ae3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb0775e3bb04a6e5c58601f07c66ae3b">&#9670;&#160;</a></span>var reader</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.SMTP.var reader : ?StringReader&lt;StreamingSocket&gt; = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a87b6d6fe3b3affd8362bfe612ce039fc" name="a87b6d6fe3b3affd8362bfe612ce039fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87b6d6fe3b3affd8362bfe612ce039fc">&#9670;&#160;</a></span>var replyCode</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.SMTP.var replyCode : Int64 = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a81e8e4b8769372c2593a9e79ba1fa486" name="a81e8e4b8769372c2593a9e79ba1fa486"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81e8e4b8769372c2593a9e79ba1fa486">&#9670;&#160;</a></span>var replyLines</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.SMTP.var replyLines = ArrayList&lt;String&gt;()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a64db1a0b52b4deddf5c02f7d5e66df6c" name="a64db1a0b52b4deddf5c02f7d5e66df6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64db1a0b52b4deddf5c02f7d5e66df6c">&#9670;&#160;</a></span>var replyString</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.SMTP.var replyString : String = &quot;&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7e35eea6e676fbfa19c8654d6ced8964" name="a7e35eea6e676fbfa19c8654d6ced8964"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e35eea6e676fbfa19c8654d6ced8964">&#9670;&#160;</a></span>var writer</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.smtp.SMTP.var writer : ?StringWriter&lt;StreamingSocket&gt; = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/smtp/<a class="el" href="smtp_8cj.html">smtp.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1smtp.html">smtp</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1smtp_1_1SMTP.html">SMTP</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
